import request from '@/utils/request'

// 查询用章申请列表
export function listStampApply(query) {
  return request({
    url: '/system/stampApply/list',
    method: 'get',
    params: query
  })
}

// 查询用章申请详细
export function getStampApply(id) {
  return request({
    url: '/system/stampApply/' + id,
    method: 'get'
  })
}

// 新增用章申请
export function addStampApply(data) {
  return request({
    url: '/system/stampApply',
    method: 'post',
    data: data
  })
}

// 修改用章申请
export function updateStampApply(data) {
  return request({
    url: '/system/stampApply',
    method: 'put',
    data: data
  })
}

// 删除用章申请
export function delStampApply(id) {
  return request({
    url: '/system/stampApply/' + id,
    method: 'delete'
  })
}
